\hypertarget{classcom_1_1engine_1_1pattern_1_1player_1_1Player}{
\section{com.engine.pattern.player.Player Class Reference}
\label{classcom_1_1engine_1_1pattern_1_1player_1_1Player}\index{com::engine::pattern::player::Player@{com::engine::pattern::player::Player}}
}


Inherited by \hyperlink{classcom_1_1engine_1_1pattern_1_1player_1_1Computer}{com.engine.pattern.player.Computer}, and \hyperlink{classcom_1_1engine_1_1pattern_1_1player_1_1Human}{com.engine.pattern.player.Human}.\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classcom_1_1engine_1_1pattern_1_1player_1_1Player_a614dc377ce8103b9adc25726886ebf77}{Player} (String \hyperlink{classcom_1_1engine_1_1pattern_1_1player_1_1Player_a8e0e26c7f450e6750ad94e8cd5116196}{name}, Integer \hyperlink{classcom_1_1engine_1_1pattern_1_1player_1_1Player_af690c26f68b1ed6ea34b0f43b0ec4bd8}{score}, Integer \hyperlink{classcom_1_1engine_1_1pattern_1_1player_1_1Player_a2c0200474c36f96cb73b3f2c4a081207}{teamNumber})
\item 
String \hyperlink{classcom_1_1engine_1_1pattern_1_1player_1_1Player_aea88213cbff6499c3b6e9ff46577217c}{getName} ()
\item 
void \hyperlink{classcom_1_1engine_1_1pattern_1_1player_1_1Player_acae8c2382dcacd88525cc2a445eaee93}{setName} (String \hyperlink{classcom_1_1engine_1_1pattern_1_1player_1_1Player_a8e0e26c7f450e6750ad94e8cd5116196}{name})
\item 
Integer \hyperlink{classcom_1_1engine_1_1pattern_1_1player_1_1Player_ae04d0f370479030b115a11f544d5e323}{getScore} ()
\item 
void \hyperlink{classcom_1_1engine_1_1pattern_1_1player_1_1Player_a9195572902eab3eef3436bcbfcc08c51}{setScore} (Integer \hyperlink{classcom_1_1engine_1_1pattern_1_1player_1_1Player_af690c26f68b1ed6ea34b0f43b0ec4bd8}{score})
\item 
Integer \hyperlink{classcom_1_1engine_1_1pattern_1_1player_1_1Player_ae6fcfc7589b0df9c9cd8301a1232341b}{getTeamNumber} ()
\item 
void \hyperlink{classcom_1_1engine_1_1pattern_1_1player_1_1Player_a891cd6ae433101176a7c5e173d48404c}{setTeamNumber} (Integer \hyperlink{classcom_1_1engine_1_1pattern_1_1player_1_1Player_a2c0200474c36f96cb73b3f2c4a081207}{teamNumber})
\item 
void \hyperlink{classcom_1_1engine_1_1pattern_1_1player_1_1Player_a97c93ba6fab542a8d86ebf3c29229efa}{setPlayerId} (Integer \hyperlink{classcom_1_1engine_1_1pattern_1_1player_1_1Player_a09d15f237c2cf608c783916e0dc04963}{playerId})
\item 
Integer \hyperlink{classcom_1_1engine_1_1pattern_1_1player_1_1Player_a8183c25fc750d049d8bc28da7731d0b8}{getPlayerId} ()
\item 
void \hyperlink{classcom_1_1engine_1_1pattern_1_1player_1_1Player_ad4dcf5a05b5a89707d14f15192b50dd2}{addPoint} ()
\end{DoxyCompactItemize}
\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static Integer \hyperlink{classcom_1_1engine_1_1pattern_1_1player_1_1Player_ad6e5b83d86267d58b2ba62c46357a878}{getPlayerFn} ()
\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
String \hyperlink{classcom_1_1engine_1_1pattern_1_1player_1_1Player_a8e0e26c7f450e6750ad94e8cd5116196}{name} = null
\item 
Integer \hyperlink{classcom_1_1engine_1_1pattern_1_1player_1_1Player_af690c26f68b1ed6ea34b0f43b0ec4bd8}{score} = null
\item 
Integer \hyperlink{classcom_1_1engine_1_1pattern_1_1player_1_1Player_a2c0200474c36f96cb73b3f2c4a081207}{teamNumber} = null
\item 
Integer \hyperlink{classcom_1_1engine_1_1pattern_1_1player_1_1Player_a09d15f237c2cf608c783916e0dc04963}{playerId} = null
\end{DoxyCompactItemize}
\subsection*{Static Private Attributes}
\begin{DoxyCompactItemize}
\item 
static Integer \hyperlink{classcom_1_1engine_1_1pattern_1_1player_1_1Player_affe325a71e44db434deb29a61fe63602}{playerFn} = 1
\end{DoxyCompactItemize}


\subsection{Detailed Description}
\begin{DoxyAuthor}{Author}
jonathan 

fabienne 
\end{DoxyAuthor}


Definition at line 7 of file Player.java.

\subsection{Constructor \& Destructor Documentation}
\hypertarget{classcom_1_1engine_1_1pattern_1_1player_1_1Player_a614dc377ce8103b9adc25726886ebf77}{
\index{com::engine::pattern::player::Player@{com::engine::pattern::player::Player}!Player@{Player}}
\index{Player@{Player}!com::engine::pattern::player::Player@{com::engine::pattern::player::Player}}
\subsubsection[{Player}]{\setlength{\rightskip}{0pt plus 5cm}com.engine.pattern.player.Player.Player (String {\em name}, \/  Integer {\em score}, \/  Integer {\em teamNumber})}}
\label{classcom_1_1engine_1_1pattern_1_1player_1_1Player_a614dc377ce8103b9adc25726886ebf77}

\begin{DoxyParams}{Parameters}
\item[{\em name}]\item[{\em score}]\item[{\em teamNumber}]\end{DoxyParams}


Definition at line 35 of file Player.java.

References com.engine.pattern.player.Player.playerFn, and com.engine.pattern.player.Player.setPlayerId().

Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=245pt]{classcom_1_1engine_1_1pattern_1_1player_1_1Player_a614dc377ce8103b9adc25726886ebf77_cgraph}
\end{center}
\end{figure}


\subsection{Member Function Documentation}
\hypertarget{classcom_1_1engine_1_1pattern_1_1player_1_1Player_ad4dcf5a05b5a89707d14f15192b50dd2}{
\index{com::engine::pattern::player::Player@{com::engine::pattern::player::Player}!addPoint@{addPoint}}
\index{addPoint@{addPoint}!com::engine::pattern::player::Player@{com::engine::pattern::player::Player}}
\subsubsection[{addPoint}]{\setlength{\rightskip}{0pt plus 5cm}void com.engine.pattern.player.Player.addPoint ()}}
\label{classcom_1_1engine_1_1pattern_1_1player_1_1Player_ad4dcf5a05b5a89707d14f15192b50dd2}


Definition at line 119 of file Player.java.

References com.engine.pattern.player.Player.score.

Referenced by com.engine.controller.Controller.moveProtPhos().\hypertarget{classcom_1_1engine_1_1pattern_1_1player_1_1Player_aea88213cbff6499c3b6e9ff46577217c}{
\index{com::engine::pattern::player::Player@{com::engine::pattern::player::Player}!getName@{getName}}
\index{getName@{getName}!com::engine::pattern::player::Player@{com::engine::pattern::player::Player}}
\subsubsection[{getName}]{\setlength{\rightskip}{0pt plus 5cm}String com.engine.pattern.player.Player.getName ()}}
\label{classcom_1_1engine_1_1pattern_1_1player_1_1Player_aea88213cbff6499c3b6e9ff46577217c}
\begin{DoxyReturn}{Returns}

\end{DoxyReturn}


Definition at line 47 of file Player.java.

References com.engine.pattern.player.Player.name.

Referenced by com.engine.controller.Controller.initialiseGrid(), com.engine.controller.Controller.moveMetabolite(), com.engine.controller.Controller.moveProtPhos(), com.engine.controller.Controller.printAllScore(), and com.engine.controller.Controller.searchMaxScore().\hypertarget{classcom_1_1engine_1_1pattern_1_1player_1_1Player_ad6e5b83d86267d58b2ba62c46357a878}{
\index{com::engine::pattern::player::Player@{com::engine::pattern::player::Player}!getPlayerFn@{getPlayerFn}}
\index{getPlayerFn@{getPlayerFn}!com::engine::pattern::player::Player@{com::engine::pattern::player::Player}}
\subsubsection[{getPlayerFn}]{\setlength{\rightskip}{0pt plus 5cm}static Integer com.engine.pattern.player.Player.getPlayerFn ()\hspace{0.3cm}{\ttfamily  \mbox{[}static\mbox{]}}}}
\label{classcom_1_1engine_1_1pattern_1_1player_1_1Player_ad6e5b83d86267d58b2ba62c46357a878}
\begin{DoxyReturn}{Returns}

\end{DoxyReturn}


Definition at line 95 of file Player.java.

References com.engine.pattern.player.Player.playerFn.\hypertarget{classcom_1_1engine_1_1pattern_1_1player_1_1Player_a8183c25fc750d049d8bc28da7731d0b8}{
\index{com::engine::pattern::player::Player@{com::engine::pattern::player::Player}!getPlayerId@{getPlayerId}}
\index{getPlayerId@{getPlayerId}!com::engine::pattern::player::Player@{com::engine::pattern::player::Player}}
\subsubsection[{getPlayerId}]{\setlength{\rightskip}{0pt plus 5cm}Integer com.engine.pattern.player.Player.getPlayerId ()}}
\label{classcom_1_1engine_1_1pattern_1_1player_1_1Player_a8183c25fc750d049d8bc28da7731d0b8}
\begin{DoxyReturn}{Returns}

\end{DoxyReturn}


Definition at line 111 of file Player.java.

References com.engine.pattern.player.Player.playerId.

Referenced by com.engine.controller.Controller.initialiseGrid(), com.engine.controller.Controller.moveMetabolite(), and com.engine.controller.Controller.moveProtPhos().\hypertarget{classcom_1_1engine_1_1pattern_1_1player_1_1Player_ae04d0f370479030b115a11f544d5e323}{
\index{com::engine::pattern::player::Player@{com::engine::pattern::player::Player}!getScore@{getScore}}
\index{getScore@{getScore}!com::engine::pattern::player::Player@{com::engine::pattern::player::Player}}
\subsubsection[{getScore}]{\setlength{\rightskip}{0pt plus 5cm}Integer com.engine.pattern.player.Player.getScore ()}}
\label{classcom_1_1engine_1_1pattern_1_1player_1_1Player_ae04d0f370479030b115a11f544d5e323}
\begin{DoxyReturn}{Returns}

\end{DoxyReturn}


Definition at line 63 of file Player.java.

References com.engine.pattern.player.Player.score.

Referenced by com.engine.controller.Controller.moveProtPhos(), com.engine.controller.Controller.printAllScore(), com.engine.controller.Controller.searchMaxScore(), and com.engine.controller.Controller.start().\hypertarget{classcom_1_1engine_1_1pattern_1_1player_1_1Player_ae6fcfc7589b0df9c9cd8301a1232341b}{
\index{com::engine::pattern::player::Player@{com::engine::pattern::player::Player}!getTeamNumber@{getTeamNumber}}
\index{getTeamNumber@{getTeamNumber}!com::engine::pattern::player::Player@{com::engine::pattern::player::Player}}
\subsubsection[{getTeamNumber}]{\setlength{\rightskip}{0pt plus 5cm}Integer com.engine.pattern.player.Player.getTeamNumber ()}}
\label{classcom_1_1engine_1_1pattern_1_1player_1_1Player_ae6fcfc7589b0df9c9cd8301a1232341b}
\begin{DoxyReturn}{Returns}

\end{DoxyReturn}


Definition at line 79 of file Player.java.

References com.engine.pattern.player.Player.teamNumber.

Referenced by com.engine.controller.Controller.moveProtPhos(), com.engine.controller.Controller.printAllScore(), and com.engine.controller.Controller.searchMaxScore().\hypertarget{classcom_1_1engine_1_1pattern_1_1player_1_1Player_acae8c2382dcacd88525cc2a445eaee93}{
\index{com::engine::pattern::player::Player@{com::engine::pattern::player::Player}!setName@{setName}}
\index{setName@{setName}!com::engine::pattern::player::Player@{com::engine::pattern::player::Player}}
\subsubsection[{setName}]{\setlength{\rightskip}{0pt plus 5cm}void com.engine.pattern.player.Player.setName (String {\em name})}}
\label{classcom_1_1engine_1_1pattern_1_1player_1_1Player_acae8c2382dcacd88525cc2a445eaee93}

\begin{DoxyParams}{Parameters}
\item[{\em name}]\end{DoxyParams}


Definition at line 55 of file Player.java.\hypertarget{classcom_1_1engine_1_1pattern_1_1player_1_1Player_a97c93ba6fab542a8d86ebf3c29229efa}{
\index{com::engine::pattern::player::Player@{com::engine::pattern::player::Player}!setPlayerId@{setPlayerId}}
\index{setPlayerId@{setPlayerId}!com::engine::pattern::player::Player@{com::engine::pattern::player::Player}}
\subsubsection[{setPlayerId}]{\setlength{\rightskip}{0pt plus 5cm}void com.engine.pattern.player.Player.setPlayerId (Integer {\em playerId})}}
\label{classcom_1_1engine_1_1pattern_1_1player_1_1Player_a97c93ba6fab542a8d86ebf3c29229efa}

\begin{DoxyParams}{Parameters}
\item[{\em playerId}]\end{DoxyParams}


Definition at line 103 of file Player.java.

Referenced by com.engine.pattern.player.Player.Player().\hypertarget{classcom_1_1engine_1_1pattern_1_1player_1_1Player_a9195572902eab3eef3436bcbfcc08c51}{
\index{com::engine::pattern::player::Player@{com::engine::pattern::player::Player}!setScore@{setScore}}
\index{setScore@{setScore}!com::engine::pattern::player::Player@{com::engine::pattern::player::Player}}
\subsubsection[{setScore}]{\setlength{\rightskip}{0pt plus 5cm}void com.engine.pattern.player.Player.setScore (Integer {\em score})}}
\label{classcom_1_1engine_1_1pattern_1_1player_1_1Player_a9195572902eab3eef3436bcbfcc08c51}

\begin{DoxyParams}{Parameters}
\item[{\em score}]\end{DoxyParams}


Definition at line 71 of file Player.java.\hypertarget{classcom_1_1engine_1_1pattern_1_1player_1_1Player_a891cd6ae433101176a7c5e173d48404c}{
\index{com::engine::pattern::player::Player@{com::engine::pattern::player::Player}!setTeamNumber@{setTeamNumber}}
\index{setTeamNumber@{setTeamNumber}!com::engine::pattern::player::Player@{com::engine::pattern::player::Player}}
\subsubsection[{setTeamNumber}]{\setlength{\rightskip}{0pt plus 5cm}void com.engine.pattern.player.Player.setTeamNumber (Integer {\em teamNumber})}}
\label{classcom_1_1engine_1_1pattern_1_1player_1_1Player_a891cd6ae433101176a7c5e173d48404c}

\begin{DoxyParams}{Parameters}
\item[{\em teamNumber}]\end{DoxyParams}


Definition at line 87 of file Player.java.

\subsection{Member Data Documentation}
\hypertarget{classcom_1_1engine_1_1pattern_1_1player_1_1Player_a8e0e26c7f450e6750ad94e8cd5116196}{
\index{com::engine::pattern::player::Player@{com::engine::pattern::player::Player}!name@{name}}
\index{name@{name}!com::engine::pattern::player::Player@{com::engine::pattern::player::Player}}
\subsubsection[{name}]{\setlength{\rightskip}{0pt plus 5cm}String {\bf com.engine.pattern.player.Player.name} = null\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}
\label{classcom_1_1engine_1_1pattern_1_1player_1_1Player_a8e0e26c7f450e6750ad94e8cd5116196}


Definition at line 16 of file Player.java.

Referenced by com.engine.pattern.player.Player.getName().\hypertarget{classcom_1_1engine_1_1pattern_1_1player_1_1Player_affe325a71e44db434deb29a61fe63602}{
\index{com::engine::pattern::player::Player@{com::engine::pattern::player::Player}!playerFn@{playerFn}}
\index{playerFn@{playerFn}!com::engine::pattern::player::Player@{com::engine::pattern::player::Player}}
\subsubsection[{playerFn}]{\setlength{\rightskip}{0pt plus 5cm}Integer {\bf com.engine.pattern.player.Player.playerFn} = 1\hspace{0.3cm}{\ttfamily  \mbox{[}static, private\mbox{]}}}}
\label{classcom_1_1engine_1_1pattern_1_1player_1_1Player_affe325a71e44db434deb29a61fe63602}


Definition at line 12 of file Player.java.

Referenced by com.engine.pattern.player.Player.getPlayerFn(), and com.engine.pattern.player.Player.Player().\hypertarget{classcom_1_1engine_1_1pattern_1_1player_1_1Player_a09d15f237c2cf608c783916e0dc04963}{
\index{com::engine::pattern::player::Player@{com::engine::pattern::player::Player}!playerId@{playerId}}
\index{playerId@{playerId}!com::engine::pattern::player::Player@{com::engine::pattern::player::Player}}
\subsubsection[{playerId}]{\setlength{\rightskip}{0pt plus 5cm}Integer {\bf com.engine.pattern.player.Player.playerId} = null\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}
\label{classcom_1_1engine_1_1pattern_1_1player_1_1Player_a09d15f237c2cf608c783916e0dc04963}


Definition at line 28 of file Player.java.

Referenced by com.engine.pattern.player.Player.getPlayerId().\hypertarget{classcom_1_1engine_1_1pattern_1_1player_1_1Player_af690c26f68b1ed6ea34b0f43b0ec4bd8}{
\index{com::engine::pattern::player::Player@{com::engine::pattern::player::Player}!score@{score}}
\index{score@{score}!com::engine::pattern::player::Player@{com::engine::pattern::player::Player}}
\subsubsection[{score}]{\setlength{\rightskip}{0pt plus 5cm}Integer {\bf com.engine.pattern.player.Player.score} = null\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}
\label{classcom_1_1engine_1_1pattern_1_1player_1_1Player_af690c26f68b1ed6ea34b0f43b0ec4bd8}


Definition at line 20 of file Player.java.

Referenced by com.engine.pattern.player.Player.addPoint(), and com.engine.pattern.player.Player.getScore().\hypertarget{classcom_1_1engine_1_1pattern_1_1player_1_1Player_a2c0200474c36f96cb73b3f2c4a081207}{
\index{com::engine::pattern::player::Player@{com::engine::pattern::player::Player}!teamNumber@{teamNumber}}
\index{teamNumber@{teamNumber}!com::engine::pattern::player::Player@{com::engine::pattern::player::Player}}
\subsubsection[{teamNumber}]{\setlength{\rightskip}{0pt plus 5cm}Integer {\bf com.engine.pattern.player.Player.teamNumber} = null\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}
\label{classcom_1_1engine_1_1pattern_1_1player_1_1Player_a2c0200474c36f96cb73b3f2c4a081207}


Definition at line 24 of file Player.java.

Referenced by com.engine.pattern.player.Player.getTeamNumber().

The documentation for this class was generated from the following file:\begin{DoxyCompactItemize}
\item 
com/engine/pattern/player/\hyperlink{Player_8java}{Player.java}\end{DoxyCompactItemize}
